﻿using System;
using SharpSqlAnalyzer.nodes;

namespace SharpSqlAnalyzer.stmt.postgresql
{
	// Token: 0x02000128 RID: 296
	public class TNullStmt : TCustomSqlStatement
	{
		// Token: 0x06000977 RID: 2423 RVA: 0x003035E6 File Offset: 0x003017E6
		public TNullStmt() : this(EDbVendor.dbvpostgresql)
		{
		}

		// Token: 0x06000978 RID: 2424 RVA: 0x003035F0 File Offset: 0x003017F0
		public TNullStmt(EDbVendor dbvendor) : base(dbvendor)
		{
			this.sqlstatementtype = ESqlStatementType.sstplsql_nullstmt;
		}

		// Token: 0x06000979 RID: 2425 RVA: 0x00303604 File Offset: 0x00301804
		public override int doParseStatement(TCustomSqlStatement psql)
		{
			if (this.rootNode == null)
			{
				return -1;
			}
			base.doParseStatement(psql);
			return 0;
		}

		// Token: 0x0600097A RID: 2426 RVA: 0x00303619 File Offset: 0x00301819
		public override void accept(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}

		// Token: 0x0600097B RID: 2427 RVA: 0x00303629 File Offset: 0x00301829
		public override void acceptChildren(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}
	}
}
